import * as rule from '@/utils/rule'
export const searchFormConfig = {
     title: '督导记录',
     formItems: [
          {
               field: 'username',
               type: 'input',
               label: '督导人',
               placeHolder: '请输入督导人',
               disabled: false,
               rules: [],
               visible: true,
               initValue: '',
          },
          {
               field: 'starttime',
               type: 'datepicker',
               label: '开始时间',
               placeHolder: '请选择开始时间',
               disabled: false,
               rules: [],
               visible: true,
               initValue: '',
               otherOption: {
                    format: 'YYYY/MM/DD',
                    valueFormat: 'YYYY-MM-DD',
                    type: 'date',
               },
          },
          {
               field: 'endtime',
               type: 'datepicker',
               label: '结束时间',
               placeHolder: '请输入结束时间',
               disabled: false,
               rules: [],
               visible: true,
               initValue: '',
               otherOption: {
                    format: 'YYYY/MM/DD',
                    valueFormat: 'YYYY-MM-DD',
                    type: 'date',
               },
          },
          {
               field: 'showonlyDis',
               type: 'select',
               label: '仅显示本级 ',
               placeHolder: '请选择',
               disabled: false,
               options: [
                    {
                         label: '是',
                         value: '是',
                    },
                    {
                         label: '否',
                         value: '否',
                    },
               ],
               visible: true,
               initValue: '',
          },
     ],
     labelWidth: 'auto',
     colLayout: {
          xl: 8, // ≥1920px
          lg: 8, // ≥1200px
          md: 8, // ≥992px
          sm: 8, // ≥768px
          xs: 8, // <768px
     },
     itemStyle: { padding: '10px 5px' },
}
